package com.charlie.meetingmanagement.service;

import com.charlie.meetingmanagement.pojo.po.PageBean;
import com.charlie.meetingmanagement.pojo.po.Rental;
import com.charlie.meetingmanagement.pojo.po.Result;
import com.charlie.meetingmanagement.pojo.vo.RuquestByTimeVo;

import java.time.LocalDate;

public interface RentalService {
    PageBean page(Integer page, Integer pageSize, Integer meetingroomId, LocalDate meetingroomRentaldate,
                  Integer meetingroomRentaltime, Integer userId, Integer approveId);

    Result insertRental(Rental rental);

    Result regretRental(Rental rental);

    Result deleteRental(Rental rental);

    RuquestByTimeVo getRentalInfo(LocalDate rentaldate, Integer meetingroomId);
}
